

package taller2.view.menus;

import java.awt.GridBagLayout;


import javax.swing.JLabel;
import javax.swing.JPanel;

import taller2.utils.Point;
import taller2.utils.Utils;

public class AboutUsMenu extends JPanel{
        private static final long serialVersionUID = 1L;
        private int cont;

        // constructor
        public AboutUsMenu(){
                this.cont = 0;

                setLayout(new GridBagLayout());

                addLabel("Daniel Andrés Obon",0,cont++);
                addLabel("Juan Federico Fuld",0,cont++);
                addLabel("Sebastian Barreña",0,cont++);
                addLabel("Federico Extramiana",0,cont++);
                addLabel("Joaquin Consoni",0,cont++);
                addLabel("Kevin Addin",0,cont++);

        }
       
        private void addLabel(final String s, int x, int y){
                JLabel label = new JLabel(s);
                Utils.addComponent(this,label,1, 0, new Point(x,y));
        }

}
